package com.fsj.admin.system.service.impl;

import com.fsj.admin.system.dao.WalletRecordsDao;
import com.fsj.admin.system.domain.WalletRecordsDO;
import com.fsj.admin.system.service.WalletRecordsService;
import com.fsj.admin.system.vo.InviteWaterVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class WalletRecordsServiceImpl implements WalletRecordsService {
	@Autowired
	private WalletRecordsDao walletRecordsDao;
	
	@Override
	public WalletRecordsDO get(Long id){
		return walletRecordsDao.get(id);
	}
	
	@Override
	public List<WalletRecordsDO> list(Map<String, Object> map){
		return walletRecordsDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return walletRecordsDao.count(map);
	}
	
	@Override
	public int save(WalletRecordsDO walletRecords){
		return walletRecordsDao.save(walletRecords);
	}
	
	@Override
	public int update(WalletRecordsDO walletRecords){
		return walletRecordsDao.update(walletRecords);
	}
	
	@Override
	public int remove(Long id){
		return walletRecordsDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return walletRecordsDao.batchRemove(ids);
	}

	@Override
	public int insertInviteWater(InviteWaterVO inviteWaterVO) {
		return walletRecordsDao.insertInviteWater(inviteWaterVO);
	}

}
